package com.hz.ruoyifarmbase.farm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 作物种植操作对象 agr_base_operate
 * 
 * @author zjk
 * @date 2025-03-11
 */
public class AgrBaseOperate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long operateId;

    /** 批次 ID */
    @Excel(name = "批次 ID")
    private Long batchId;

    /** 步骤排序，批次 ID - 作物 ID - 步骤排序 */
    @Excel(name = "步骤排序，批次 ID - 作物 ID - 步骤排序")
    private Long processSort;

    /** 状态（0 未开始，1 已完成） */
    @Excel(name = "状态", readConverterExp = "0=,未=开始，1,已=完成")
    private Long status;

    /** 开始时间，操作开始时间 */
    @Excel(name = "开始时间，操作开始时间")
    private String startTime;
    /** 完成时间，操作结束时间 */
    @Excel(name = "完成时间，操作结束时间")
    private String finishTime;

    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setBatchId(Long batchId) 
    {
        this.batchId = batchId;
    }

    public Long getBatchId() 
    {
        return batchId;
    }
    public void setProcessSort(Long processSort) 
    {
        this.processSort = processSort;
    }

    public Long getProcessSort() 
    {
        return processSort;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setFinishTime(String finishTime)
    {
        this.finishTime = finishTime;
    }

    public String getFinishTime() 
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("operateId", getOperateId())
            .append("batchId", getBatchId())
            .append("processSort", getProcessSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("startTime", getStartTime())
            .append("finishTime", getFinishTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
